package com.crdeng.system.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 将这个类交给Spring管理
 */
@ConfigurationProperties(prefix = "aliyun")
@Component
@Data
public class OssEntity {

    private String endpoint; //服务器网址
    private String accessKeyId; //
    private String accessKeySecret;
    private String bucketName; //bucket命名

}
